//
//  CunOrquDetailCell.m
//  ProjectforHDX
//
//  Created by yinda on 2018/6/5.
//  Copyright © 2018年 H.DX. All rights reserved.
//

#import "CunOrquDetailCell.h"
#import "CunQuDetailModel.h"
@implementation CunOrquDetailCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(CunQuDetailModel *)model{
    _model = model;
    self.ramContent.text = model.rma;
    self.banjianNameContent.text = model.partName;
    self.banjiancodeContent.text = model.partCode;
    self.codeContent.text = model.partSN;
    self.versionContent.text = model.partVersion;
    self.coutContent.text = [NSString stringWithFormat:@"*%@",model.number];
    self.boxCodeContent.text = model.boxCode;
    self.coutContent.textColor = [UIColor blueColor];
    
    //国际化
    _banjianNameLabel.text = [UtilCheck language:@"cunquDetail.partName"];
    _banjianCode.text = [UtilCheck language:@"cunquDetail.partCode"];
    _codeLabel.text = [UtilCheck language:@"cunquDetail.partSN"];
    _versionlabel.text = [UtilCheck language:@"cunquDetail.partVersion"];
    _boxCodelabel.text = [UtilCheck language:@"cunquDetail.boxCode"];
    _coutLabel.text = [UtilCheck language:@"cunquDetail.number"];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
